# chatserver.pro

QT       += core network sql  # 添加 sql 模块

CONFIG   += c++11


# 如果需要控制台输出（对于控制台应用程序）
CONFIG += console

# 设置目标名称
TARGET = chatserver
TEMPLATE = app

# 源文件和头文件
SOURCES += \
    main.cpp \
    chatserver.cpp

HEADERS += \
    chatserver.h

# # 设置构建目录
# DESTDIR = $$PWD/bin
# OBJECTS_DIR = $$PWD/build/obj
# MOC_DIR = $$PWD/build/moc
# RCC_DIR = $$PWD/build/rcc
# UI_DIR = $$PWD/build/ui

# 调试信息
CONFIG += debug_and_release
CONFIG(debug, debug|release) {
    TARGET = $$join(TARGET,,,_debug)
} else {
    TARGET = $$join(TARGET,,,_release)
}
